﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Warranty.aspx.cs" Inherits="Warranty_Warranty" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="body" Runat="Server">


    <div style="background-color:White; padding:2.5%">
        <asp:Label ID="lbAssetHeading" runat="server" Text="Warranty Information" Font-Bold="True" 
            Font-Size="X-Large"></asp:Label>
            <br /><br />
    <asp:Table ID="Table1" runat="server" CellPadding="1" 
            CellSpacing="0">
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="lbWarranty_ID" runat="server" Text="Warranty ID: "></asp:Label>
            
            </asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="txtWarranty_ID" runat="server" ReadOnly="True" BorderStyle="None"></asp:TextBox>
            
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="lbProvider_Info" runat="server" Text="Provider Info: "></asp:Label>
            
            </asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="txtProvider_Info" runat="server" ReadOnly="True" BorderStyle="None"></asp:TextBox>
            
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="lbWarranty_Status" runat="server" Text="Warranty Status: "></asp:Label>
            
            </asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="txtWarranty_Status" runat="server" ReadOnly="True" BorderStyle="None"></asp:TextBox>
            
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="lbStart_Date" runat="server" Text="Start Date: "></asp:Label>
            
            </asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="txtStart_Date" runat="server" ReadOnly="True" BorderStyle="None"></asp:TextBox>
            
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="lbExpire_Date" runat="server" Text="Expire Date: "></asp:Label>
            
            </asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="txtExpire_Date" runat="server" ReadOnly="True" BorderStyle="None"></asp:TextBox>
            
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                    <asp:Button ID="btnUpdate" runat="server" Text="Update Area" class="button" 
                    style="width:150px; height:30px; top: 0px; left: 0px;" 
                        onclick="btnUpdate_Click" Visible="False" />
            
            </asp:TableCell>
            <asp:TableCell>
                    <asp:Button ID="btnCancle" runat="server" Text="Cancle Update" class="button" 
                    style="width:150px; height:30px; top: 0px; left: 0px;" 
                        onclick="btnCancle_Click" Visible="False" />
            
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                    <asp:Button ID="btnEdit" runat="server" Text="Edit Area" class="button" 
                    style="width:150px; height:30px; top: 0px; left: 0px;" 
                        onclick="btnEdit_Click" />
            
            </asp:TableCell>
            <asp:TableCell>
                    <asp:Button ID="btnDelete" runat="server" Text="Delete Area" class="button" 
                    style="width:150px; top: 0px; left: 0px;" 
                        OnClientClick="return confirm('Are you sure you want to delete this item?\n\nOne you delete a computer all the parts and installed software assosiated with the computer are delete form the asset control system.\n\nIf you want to keep the part's information in the system, first uninstall the parts and then delete computer.');" 
                        onclick="btnDelete_Click" Visible="True" Enabled="True" />
            
            </asp:TableCell>
        </asp:TableRow>

    </asp:Table>

    </div>






</asp:Content>

